Validating the checkbox in PHP

FacebookTwitterLinkedInIf the checkbox is checked, then the value of checkbox will be passed on the submission of the form. Otherwise, the value is empty. You can validate the value of a checkbox only after the form is being submitted. For example: <input type=’checkbox’ name=’accept’ value=’1′ id=’checkbox’ /> I accept the Terms & Conditions. Use the … Continue reading Validating the checkbox in PHP